<?php

class Rate extends EMongoDocument {

    public $date;
    public $dayName;
    public $hotel;
    public $channel;
    public $roomType;
    public $singleNet;
    public $singleSell;
    public $doubleNet;
    public $doubleSell;
    public $trippleNet;
    public $trippleSell;
    public $pointRate;
    public $breakfast;
    public $extraBed;

    public function attributeLabels() {
        return array(
            'date' => 'date',
            'dayName' => 'dayName',
            'hotel' => 'hotel',
            'channel' => 'channel',
            'roomType' => 'roomType',
            'singleNet' => 'singleNet',
            'singleSell' => 'Single Sell',
            'doubleNet' => 'doubleNet',
            'doubleSell' => 'double sell',
            'trippleNet' => 'trippleNet',
            'trippleSell' => 'trippleSell',
            'pointRate' => 'pointRate',
            'breakfast' => 'breakfast',
            'extrabed' => 'extrabed',
        );
    }

    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function getCollectionName() {
        return 'rates';
    }
}

?>
